import { RMIProxyObject } from "../../Engine/RMI/RMIProxyObject";
import { IActivePrx } from "./IActivePrx";
import { AMI_IActive_betTwelveAnimal } from "./AMI_IActive_betTwelveAnimal";
import { SerializeStream } from "../../Framework/Serialize/SerializeStream";
import { Outgoing } from "../../Engine/RMI/Outgoing";
import { AMI_IActive_buyBargainShopItem } from "./AMI_IActive_buyBargainShopItem";
import { AMI_IActive_completeDrawPlateCondition } from "./AMI_IActive_completeDrawPlateCondition";
import { AMI_IActive_dailyActiveInfo } from "./AMI_IActive_dailyActiveInfo";
import { AMI_IActive_decorateSnowman } from "./AMI_IActive_decorateSnowman";
import { SEntityId } from "../Public/SEntityId";
import { AMI_IActive_footballGameGuess } from "./AMI_IActive_footballGameGuess";
import { AMI_IActive_footballGameInfo } from "./AMI_IActive_footballGameInfo";
import { AMI_IActive_footballReward } from "./AMI_IActive_footballReward";
import { AMI_IActive_getCharmActivityRewardConfig } from "./AMI_IActive_getCharmActivityRewardConfig";
import { AMI_IActive_getDayRechargeRewardInfo } from "./AMI_IActive_getDayRechargeRewardInfo";
import { AMI_IActive_getDayRechargeRewardItem } from "./AMI_IActive_getDayRechargeRewardItem";
import { AMI_IActive_getDrawPlateReward } from "./AMI_IActive_getDrawPlateReward";
import { AMI_IActive_getEatParadeActiveInfo } from "./AMI_IActive_getEatParadeActiveInfo";
import { AMI_IActive_getInvestPlanInfo } from "./AMI_IActive_getInvestPlanInfo";
import { AMI_IActive_getLoginBackRewardInfo } from "./AMI_IActive_getLoginBackRewardInfo";
import { AMI_IActive_getLoginReward } from "./AMI_IActive_getLoginReward";
import { AMI_IActive_getOlympicGuess } from "./AMI_IActive_getOlympicGuess";
import { AMI_IActive_getRechargeNumTargetNodeReward } from "./AMI_IActive_getRechargeNumTargetNodeReward";
import { AMI_IActive_getRedEnvelopeTopList } from "./AMI_IActive_getRedEnvelopeTopList";
import { AMI_IActive_getSpecialActiveJoinReward } from "./AMI_IActive_getSpecialActiveJoinReward";
import { AMI_IActive_getSpecialFlowerReward } from "./AMI_IActive_getSpecialFlowerReward";
import { AMI_IActive_getTwelveAnimalBetInfo } from "./AMI_IActive_getTwelveAnimalBetInfo";
import { AMI_IActive_getTwelveAnimalBetRewards } from "./AMI_IActive_getTwelveAnimalBetRewards";
import { AMI_IActive_getWildBossRefreshList } from "./AMI_IActive_getWildBossRefreshList";
import { AMI_IActive_getWishCard } from "./AMI_IActive_getWishCard";
import { AMI_IActive_hitEgg } from "./AMI_IActive_hitEgg";
import { AMI_IActive_invest } from "./AMI_IActive_invest";
import { AMI_IActive_joinEatParadeActive } from "./AMI_IActive_joinEatParadeActive";
import { AMI_IActive_luckyDraw } from "./AMI_IActive_luckyDraw";
import { AMI_IActive_olympicGuess } from "./AMI_IActive_olympicGuess";
import { AMI_IActive_openDrawPlate } from "./AMI_IActive_openDrawPlate";
import { AMI_IActive_openHitEgg } from "./AMI_IActive_openHitEgg";
import { AMI_IActive_openRechargeNumTarget } from "./AMI_IActive_openRechargeNumTarget";
import { AMI_IActive_openSpecialPanicBuy } from "./AMI_IActive_openSpecialPanicBuy";
import { AMI_IActive_plantFlowerOper } from "./AMI_IActive_plantFlowerOper";
import { EPlantFlowerOperType } from "./EPlantFlowerOperType";
import { SPoint } from "../Public/SPoint";
import { AMI_IActive_quitEatParadeActive } from "./AMI_IActive_quitEatParadeActive";
import { AMI_IActive_refreshBargainShopItem } from "./AMI_IActive_refreshBargainShopItem";
import { AMI_IActive_resetDrawPlate } from "./AMI_IActive_resetDrawPlate";
import { AMI_IActive_showOpenDrawPlate } from "./AMI_IActive_showOpenDrawPlate";
import { AMI_IActive_specialActiveDetail } from "./AMI_IActive_specialActiveDetail";
import { AMI_IActive_useMeidaCard } from "./AMI_IActive_useMeidaCard";
import { AMI_IActive_useOrBuySpecialPanic } from "./AMI_IActive_useOrBuySpecialPanic";
import { AMI_IActive_viewBargainShopItemInfo } from "./AMI_IActive_viewBargainShopItemInfo";
type int = number;
//class IActivePrxHelper
    
    export  class IActivePrxHelper extends RMIProxyObject implements IActivePrx
    {
        constructor()
        {
            
            super();name = "IActive";
            return;
        }

        public betTwelveAnimal_async(arg1: AMI_IActive_betTwelveAnimal, arg2: int, arg3: int, arg4: int, arg5: int): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("betTwelveAnimal");
            var loc3;
            (loc3 = new SerializeStream()).writeInt(arg2);
            loc3.writeInt(arg3);
            loc3.writeInt(arg4);
            loc3.writeInt(arg5);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public buyBargainShopItem_async(arg1: AMI_IActive_buyBargainShopItem, arg2: int, arg3: int): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("buyBargainShopItem");
            var loc3;
            (loc3 = new SerializeStream()).writeInt(arg2);
            loc3.writeInt(arg3);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public completeDrawPlateCondition_async(arg1: AMI_IActive_completeDrawPlateCondition): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("completeDrawPlateCondition");
            var loc3=new SerializeStream();
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public dailyActiveInfo_async(arg1: AMI_IActive_dailyActiveInfo): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("dailyActiveInfo");
            var loc3=new SerializeStream();
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public decorateSnowman_async(arg1: AMI_IActive_decorateSnowman, arg2: int, arg3: SEntityId): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("decorateSnowman");
            var loc3;
            (loc3 = new SerializeStream()).writeInt(arg2);
            arg3.__write(loc3);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public footballGameGuess_async(arg1: AMI_IActive_footballGameGuess, arg2: int, arg3: int, arg4: int): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("footballGameGuess");
            var loc3;
            (loc3 = new SerializeStream()).writeInt(arg2);
            loc3.writeInt(arg3);
            loc3.writeInt(arg4);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public footballGameInfo_async(arg1: AMI_IActive_footballGameInfo): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("footballGameInfo");
            var loc3=new SerializeStream();
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public footballReward_async(arg1: AMI_IActive_footballReward, arg2: int): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("footballReward");
            var loc3;
            (loc3 = new SerializeStream()).writeInt(arg2);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public getCharmActivityRewardConfig_async(arg1: AMI_IActive_getCharmActivityRewardConfig): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("getCharmActivityRewardConfig");
            var loc3=new SerializeStream();
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public getDayRechargeRewardInfo_async(arg1: AMI_IActive_getDayRechargeRewardInfo): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("getDayRechargeRewardInfo");
            var loc3=new SerializeStream();
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public getDayRechargeRewardItem_async(arg1: AMI_IActive_getDayRechargeRewardItem, arg2: int): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("getDayRechargeRewardItem");
            var loc3;
            (loc3 = new SerializeStream()).writeInt(arg2);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public getDrawPlateReward_async(arg1: AMI_IActive_getDrawPlateReward): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("getDrawPlateReward");
            var loc3=new SerializeStream();
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public getEatParadeActiveInfo_async(arg1: AMI_IActive_getEatParadeActiveInfo): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("getEatParadeActiveInfo");
            var loc3=new SerializeStream();
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public getInvestPlanInfo_async(arg1: AMI_IActive_getInvestPlanInfo): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("getInvestPlanInfo");
            var loc3=new SerializeStream();
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public getLoginBackRewardInfo_async(arg1: AMI_IActive_getLoginBackRewardInfo): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("getLoginBackRewardInfo");
            var loc3=new SerializeStream();
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public getLoginReward_async(arg1: AMI_IActive_getLoginReward, arg2: int): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("getLoginReward");
            var loc3;
            (loc3 = new SerializeStream()).writeInt(arg2);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public getOlympicGuess_async(arg1: AMI_IActive_getOlympicGuess): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("getOlympicGuess");
            var loc3=new SerializeStream();
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public getRechargeNumTargetNodeReward_async(arg1: AMI_IActive_getRechargeNumTargetNodeReward, arg2: int): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("getRechargeNumTargetNodeReward");
            var loc3;
            (loc3 = new SerializeStream()).writeInt(arg2);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public getRedEnvelopeTopList_async(arg1: AMI_IActive_getRedEnvelopeTopList): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("getRedEnvelopeTopList");
            var loc3=new SerializeStream();
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public getSpecialActiveJoinReward_async(arg1: AMI_IActive_getSpecialActiveJoinReward, arg2: int, arg3: int): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("getSpecialActiveJoinReward");
            var loc3;
            (loc3 = new SerializeStream()).writeInt(arg2);
            loc3.writeInt(arg3);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public getSpecialFlowerReward_async(arg1: AMI_IActive_getSpecialFlowerReward): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("getSpecialFlowerReward");
            var loc3=new SerializeStream();
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public getTwelveAnimalBetInfo_async(arg1: AMI_IActive_getTwelveAnimalBetInfo): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("getTwelveAnimalBetInfo");
            var loc3=new SerializeStream();
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public getTwelveAnimalBetRewards_async(arg1: AMI_IActive_getTwelveAnimalBetRewards): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("getTwelveAnimalBetRewards");
            var loc3=new SerializeStream();
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public getWildBossRefreshList_async(arg1: AMI_IActive_getWildBossRefreshList): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("getWildBossRefreshList");
            var loc3=new SerializeStream();
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public getWishCard_async(arg1: AMI_IActive_getWishCard): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("getWishCard");
            var loc3=new SerializeStream();
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public hitEgg_async(arg1: AMI_IActive_hitEgg, arg2: string, arg3: int, arg4: Boolean): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("hitEgg");
            var loc3;
            (loc3 = new SerializeStream()).writeString(arg2);
            loc3.writeInt(arg3);
            loc3.writeBool(arg4);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public invest_async(arg1: AMI_IActive_invest, arg2: int): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("invest");
            var loc3;
            (loc3 = new SerializeStream()).writeInt(arg2);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public joinEatParadeActive_async(arg1: AMI_IActive_joinEatParadeActive): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("joinEatParadeActive");
            var loc3=new SerializeStream();
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public luckyDraw_async(arg1: AMI_IActive_luckyDraw, arg2: int): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("luckyDraw");
            var loc3;
            (loc3 = new SerializeStream()).writeInt(arg2);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public olympicGuess_async(arg1: AMI_IActive_olympicGuess, arg2: int, arg3: int): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("olympicGuess");
            var loc3;
            (loc3 = new SerializeStream()).writeInt(arg2);
            loc3.writeInt(arg3);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public openDrawPlate_async(arg1: AMI_IActive_openDrawPlate, arg2: string): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("openDrawPlate");
            var loc3;
            (loc3 = new SerializeStream()).writeString(arg2);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public openHitEgg_async(arg1: AMI_IActive_openHitEgg, arg2: string): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("openHitEgg");
            var loc3;
            (loc3 = new SerializeStream()).writeString(arg2);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public openRechargeNumTarget_async(arg1: AMI_IActive_openRechargeNumTarget): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("openRechargeNumTarget");
            var loc3=new SerializeStream();
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public openSpecialPanicBuy_async(arg1: AMI_IActive_openSpecialPanicBuy): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("openSpecialPanicBuy");
            var loc3=new SerializeStream();
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public plantFlowerOper_async(arg1: AMI_IActive_plantFlowerOper, arg2: EPlantFlowerOperType, arg3: string, arg4: int, arg5: SPoint, arg6: SEntityId): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("plantFlowerOper");
            var loc3=new SerializeStream();
            arg2.__write(loc3);
            loc3.writeString(arg3);
            loc3.writeInt(arg4);
            arg5.__write(loc3);
            arg6.__write(loc3);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public quitEatParadeActive_async(arg1: AMI_IActive_quitEatParadeActive): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("quitEatParadeActive");
            var loc3=new SerializeStream();
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public refreshBargainShopItem_async(arg1: AMI_IActive_refreshBargainShopItem): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("refreshBargainShopItem");
            var loc3=new SerializeStream();
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public resetDrawPlate_async(arg1: AMI_IActive_resetDrawPlate): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("resetDrawPlate");
            var loc3=new SerializeStream();
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public showOpenDrawPlate_async(arg1: AMI_IActive_showOpenDrawPlate): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("showOpenDrawPlate");
            var loc3=new SerializeStream();
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public specialActiveDetail_async(arg1: AMI_IActive_specialActiveDetail, arg2: int): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("specialActiveDetail");
            var loc3;
            (loc3 = new SerializeStream()).writeInt(arg2);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public useMeidaCard_async(arg1: AMI_IActive_useMeidaCard, arg2: string): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("useMeidaCard");
            var loc3;
            (loc3 = new SerializeStream()).writeString(arg2);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public useOrBuySpecialPanic_async(arg1: AMI_IActive_useOrBuySpecialPanic, arg2: int, arg3: int, arg4: int): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("useOrBuySpecialPanic");
            var loc3;
            (loc3 = new SerializeStream()).writeInt(arg2);
            loc3.writeInt(arg3);
            loc3.writeInt(arg4);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public viewBargainShopItemInfo_async(arg1: AMI_IActive_viewBargainShopItemInfo): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("viewBargainShopItemInfo");
            var loc3=new SerializeStream();
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public static /* const */NAME: string="Message.Game.IActive";
    }
